CC=gcc
G77=g77
CFLAGS=-g -Wall -DSEBBEN -I/usr/include/libxml2 
FFLAGS=-fno-second-underscore
CINCLUDE=-I/usr/local/include
CLIBS=-L/home/jstevens/torrents/rpfits/linux -lrpfits -L/usr/local/lib -lm -lcpgplot -lpgplot -lpng -lz -lfftw3 -lgsl -lgslcblas -L/usr/X11R6/lib -lX11 -lxml2

all: transient_search_data read_report_xml

transient_search_data: transient_search_data.o
	$(G77) -o $@ $(CFLAGS) $(FFLAGS) transient_search_data.o $(CINCLUDE) $(CLIBS)

read_report_xml: read_report_xml.o 
	$(G77) -o $@ $(CFLAGS) read_report_xml.o $(CLIBS)

clean:
	rm -f *.o transient_search_data
